﻿using UnityEngine;
using System.Collections;

[System.Serializable]
public class EnemyPerceptions {

	public float sightDistance;

	public bool canSeePlayer;

	public Vector3 lastPlayerPosition;
	public float lastTimePlayerSeen = float.MaxValue;
	public float memoryDuration = 5f;

	public bool isAtBorder;

	public bool RememberPlayerPosition()
	{
		return lastTimePlayerSeen < memoryDuration;
	}
}
